To build levels for Showwit!, you will need to have ResEdit (Resorceror might work also, but I cannot say from personal experience). ResEdit CAN BE DANGEROUS to work with, so never work with the sole copy of your files.
There is no level editor for Showwit! as such. Instead, you will use ResEdit to add and modify levels, using a ResEdit template. This template is in the file ╥Showwit! Editor.rsrc╙.
Creating a new levels file
-----------------------
The easiest way to generate a levels file is to copy the file ╥Starter Levels File╙. This will ensure that the application and file signatures are correctly set.
Adding a level
-------------
1) Open the file ╥Showwit! Editor.rsrc╙.
2) Open the file which is to hold the new level.
3) Double click on the ╥LEVL╙ type resources in your file.
4) From the Resource menu, select ╥Create New Resource╙.
5) Your new level will be added to the list of LEVL resources. Associated with each level is a number, the ╥Resource ID╙. For a level to be recognized by Showwit!, it must have a resource ID greater or equal to 128.
Setting/Changing the level's name
------------------------------
1) Select the level, the name of which you want to change.
2) Choose ╥Get Resource Info╙ from the Resource menu.
3) Type the name in the box next to ╥Name:╙.
Editing a level
-------------
1) Make sure that the file ╥Showwit! Editor.rsrc╙ is open.
2) Choose ╥Open Resource Editor╙ from the Resource menu.
3) The level is displayed in 17 ╥grids╙. The first grid is for the starting configuration. The other 16 grids define which tiles flip in response to the given tile, called the ╥tile rules╙.
4) To edit the starting configuration, work with the four spaces next to ╥Start Config╙. Use a zero (0) if you want that position to start with the picture showing, and a one (1) if you want that position to initially conceal the picture. It is VITAL that the dollar signs ($) stay in place.
5) To edit a tile rule, work with the four spaces next to ╥n flips╙, where n is the number of the tile which you want to edit. Tiles are numbered as follows :-
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
A tile may have up to and including fifteen (15) ╥dependants╙. That is, when a tile flips from a user click, at most 15 tiles can flip in response.
The default tile rule is :-
$0000
$0000
$0000
$0000
which says that the tile has no dependants.
For the first dependant, enter a ╥1╙ in the space corresponding to that tile. For instance, for tile number 13 to be the first dependant, we have :-
$0000
$0000
$0000
$1000
Similarly, enter ╥2╙, ╥3╙, ╥4╙ etc. for subsequent dependants. For the 10th and subsequent dependants, use the hexadecimal values :-
10 decimal = A hexidecimal
11 decimal = B hexidecimal
12 decimal = C hexidecimal
13 decimal = D hexidecimal
14 decimal = E hexidecimal
15 decimal = F hexidecimal
The order MUST be contiguous. For instance, in the following :-
$0001
$0320
$0560
$0007
only dependants 1, 2 and 3 will be recognized.
A tile may have itself as a dependant. For instance, if the rule for tile 5 is :-
$0000
$4321
$0000
$0000
then when tile 5 is clicked upon, it will flip, followed by tiles 8, 7, 6 and then 5 again.
As before, it is VITAL that the dollar signs ($) stay in place.
Changing the order of levels
-------------------------
Showwit! loads levels in order of increasing resource IDs. Showwit! expects that there be no gaps in these resource IDs; if there is a gap during loading, it will insert a blank level to let you know that something is wrong.
To change the resource ID of a level (and hence its position)
1) Select the level which you want to shift.
2) Choose ╥Get Resource Info╙ from the Resource menu.
3) Type the new value in the box next to ╥ID:╙. Showwit! WILL IGNORE any resource IDs less than 128.